﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Site.Master" Inherits="System.Web.Mvc.ViewPage<TSharp.Core.Authentication.Facade.IUser>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
    Delete
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h2>
        Delete</h2>
   
    <% using (Html.BeginForm())
       { %>
    <%= Html.HiddenFor(m => m.UserName, new { value=Model.UserName})%>
    <input type="submit" onclick="return confirm('确定删除<%=Model.UserName %>吗？');" value="删除" />
    <% } %>
     <%=Html.DisplayForModel() %>
</asp:Content>
